package com.xiaoqi.store.dao;

import com.xiaoqi.store.entity.ProductEntity;

import java.util.List;

/**
 * @Author Rookie Coder
 * @Description 商品持久层接口
 * @Date
 **/
public interface ProductMapper {

    /*
    * @Author xiaoqi
    * @Description  查询所有的热销商品
    * @return List<Product>
    **/
    public List<ProductEntity> selectAllHotProduct();

    /*
    * @Author xiaoqi
    * @Description  根据商品id查询商品详情
    * @return
    **/
    ProductEntity selectProductDetail(Integer id);
}
